package com.meizhitech.mzcmsapi.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class User {
    private  Long userId;

    private  String userName;

    private  String account;

    private  String password;

    private  String email;

    private  String phone;

    private  String avatar;

    private  String address;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private  Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private  Date lastLoginTime;
}
